package com.it.service;

import com.it.bean.RepplyBean;
import com.it.dao.RepplyDao;

import java.util.List;

public class RepplyServiceImpl implements RepplyService {
    public RepplyDao repplyDao;

    @Override
    public void addRepply(RepplyBean repplyBean) throws Exception {
        repplyDao.addRepply(repplyBean);
    }

    @Override
    public List<RepplyBean> getRepplyListByTopicId(String topicId) throws Exception {
        return  repplyDao.getRepplyListByTopicId(topicId);
    }
}
